package com.supermap.gwfs.datashare.entity;

import java.io.Serializable;

/**  
 * @Description: Netcdf文件解析的数据对象
 * @author zhoujian
 * @date 2017-6-13
 * @version V1.0 
 */
public class GridData implements Serializable
{
	private static final long serialVersionUID = 1L;
	private String element;		//要素
	private Integer valid;		//时效
	private Integer rows;		//行数
	private Integer cols;		//列数
	private String unit;		//单位
	private Integer level;		//层次
	private float startLon;		//起始经度
	private float startLat;		//起始纬度
	private float endLon;		//终止经度
	private float endLat;		//终止纬度
	private Float lonResolution;	//经度分辨率
	private Float LatResolution;	//纬度分辨
	
	private float[][] values;			//数据
	
	
	public GridData(){}




	public GridData(String element, Integer valid, Integer rows, Integer cols,
			String unit, Integer level, float startLon, float startLat,
			float endLon, float endLat, Float lonResolution,
			Float latResolution, float[][] values)
	{
		super();
		this.element = element;
		this.valid = valid;
		this.rows = rows;
		this.cols = cols;
		this.unit = unit;
		this.level = level;
		this.startLon = startLon;
		this.startLat = startLat;
		this.endLon = endLon;
		this.endLat = endLat;
		this.lonResolution = lonResolution;
		LatResolution = latResolution;
		this.values = values;
	}




	public String getElement()
	{
		return element;
	}


	public void setElement(String element)
	{
		this.element = element;
	}


	public Integer getRows()
	{
		return rows;
	}


	public void setRows(Integer rows)
	{
		this.rows = rows;
	}


	public Integer getCols()
	{
		return cols;
	}


	public void setCols(Integer cols)
	{
		this.cols = cols;
	}


	public String getUnit()
	{
		return unit;
	}


	public void setUnit(String unit)
	{
		this.unit = unit;
	}


	public Integer getLevel()
	{
		return level;
	}


	public void setLevel(Integer level)
	{
		this.level = level;
	}


	public float getStartLon()
	{
		return startLon;
	}


	public void setStartLon(float startLon)
	{
		this.startLon = startLon;
	}


	public float getStartLat()
	{
		return startLat;
	}


	public void setStartLat(float startLat)
	{
		this.startLat = startLat;
	}


	public float getEndLon()
	{
		return endLon;
	}


	public void setEndLon(float endLon)
	{
		this.endLon = endLon;
	}


	public float getEndLat()
	{
		return endLat;
	}


	public void setEndLat(float endLat)
	{
		this.endLat = endLat;
	}


	public Float getLonResolution()
	{
		return lonResolution;
	}


	public void setLonResolution(Float lonResolution)
	{
		this.lonResolution = lonResolution;
	}


	public Float getLatResolution()
	{
		return LatResolution;
	}


	public void setLatResolution(Float latResolution)
	{
		LatResolution = latResolution;
	}


	public float[][] getValues()
	{
		return values;
	}


	public void setValues(float[][] values)
	{
		this.values = values;
	}


	public static long getSerialversionuid()
	{
		return serialVersionUID;
	}




	public Integer getValid()
	{
		return valid;
	}


	public void setValid(Integer valid)
	{
		this.valid = valid;
	}
	
}
